home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Magazine Collection 2001
/
Delphi Magazine Collection 20001 (2001).iso
/
DISKS
/
Issue34
/
clinic
/
Drag2U.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1998-02-07
|
469b
|
31 lines
unit Drag2U;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, ExtCtrls;
type
TForm1 = class(TForm)
public
procedure WMNCHitTest(var Msg: TMessage);
message wm_NCHitTest;
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.WMNCHitTest(var Msg: TMessage);
begin
inherited;
if Msg.Result = HTClient then
Msg.Result := HTCaption
end;
end.